Skip to content

gh-117613: Argument Clinic: disallow defining_class parameter at module level#117950

Merged
erlend-aasland merged 8 commits intopython:mainfrom
neonene:ac313
Apr 17, 2024
Merged

gh-117613: Argument Clinic: disallow defining_class parameter at module level#117950
erlend-aasland merged 8 commits intopython:mainfrom
neonene:ac313

Conversation

@neonene
Copy link
Copy Markdown
Contributor

@neonene neonene commented Apr 16, 2024

Comment thread Tools/clinic/libclinic/dsl_parser.py Outdated
@neonene neonene changed the title gh-117613: Argument Clinic: disallow defining_class parameter inside a module block gh-117613: Argument Clinic: disallow defining_class parameter at module level Apr 16, 2024
@neonene
Copy link
Copy Markdown
Contributor Author

neonene commented Apr 16, 2024

I cannot investigate the mypy error right now, failing to build mypy on 3.13.

@erlend-aasland
Copy link
Copy Markdown
Contributor

I cannot investigate the mypy error right now, failing to build mypy on 3.13.

I can take a look. Would you like me to update the PR for you?

Copy link
Copy Markdown
Member

@vstinner vstinner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@neonene
Copy link
Copy Markdown
Contributor Author

neonene commented Apr 17, 2024

Thank you. I just managed to install mypy. I'll try it a bit more.

@neonene
Copy link
Copy Markdown
Contributor Author

neonene commented Apr 17, 2024

Please check.

Comment thread Tools/clinic/libclinic/dsl_parser.py Outdated
@erlend-aasland
Copy link
Copy Markdown
Contributor

Thank you, @neonene and @vstinner!

@erlend-aasland erlend-aasland merged commit c1d7147 into python:main Apr 17, 2024
@neonene neonene deleted the ac313 branch April 18, 2024 00:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants